.class Lcom/nemustech/regina/ReginaLauncherSettings$5;
.super Ljava/lang/Object;
.source "ReginaLauncherSettings.java"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ReginaLauncherSettings;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ReginaLauncherSettings;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ReginaLauncherSettings;)V
    .locals 0
    .parameter

    .prologue
    .line 213
    iput-object p1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$5;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 3
    .parameter "preference"

    .prologue
    .line 216
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$5;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$800(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    iget-object v1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$5;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    const v2, 0x7f0700a8

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/ReginaLauncherSettings;->getString(I)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/ReginaLauncherSettings$5;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v2}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$1000(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/preference/CheckBoxPreference;

    move-result-object v2

    invoke-virtual {v2}, Landroid/preference/CheckBoxPreference;->isChecked()Z

    move-result v2

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 217
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$5;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$800(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 218
    const/4 v0, 0x1

    return v0
.end method
